PVH dom0: set eflags resvd bit #1
authorMukesh Rathor <mukesh.rathor@oracle.com>
Wed, 13 Nov 2013 08:52:18 +0000 (09:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 13 Nov 2013 08:52:18 +0000 (09:52 +0100)
commit2e3eba1a3d5cead2f25fde11874a9ef5e9c7b4be
tree4cde48e1cce01f28096a2bce6d659bab2a21932c
parentb5dda35f5aa3ab5c7be2333a8a4e0cfa34226654
PVH dom0: set eflags resvd bit #1

In this patch the eflags resv bit #1 is set in vmx_vmenter_helper. If
the bit is not set, the vmlaunch/resume will fail with guest state
invalid.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
For consistency (i.e. even if perhaps not strictly needed) also do the
same on SVM.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/entry.S
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/processor.h